import instance from '@/utils/axios.js';

function userLogin(obj) {
    return instance({
        url:'/admin/user/login',
        method:'post',
        data:obj
    })
}

export {userLogin}

// 编辑用户信息
function editUserInfo(fd) {
    return instance ({
        url:'/admin/user/edit',
        method:"post",
        data:fd
    })
}

export {editUserInfo}